package com.lijiayue.model.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("mental_data")
public class MentalData {

    private Long id;

    private Long userId;

    private Integer emotion;

    private String sleepTime;

    private String socialTimes;

    private String studyTime;

    private Integer isIrritable;

    private Integer isTired;

    private Integer isFocus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
